//
//  MapConvertUtil.h
//  amap_flutter_map
//
//  Created by lly on 2020/10/30.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
#import <Flutter/Flutter.h>
#import "FlutterMapControllerProtocol.h"

NS_ASSUME_NONNULL_BEGIN

@interface FlutterUtil : NSObject

+ (void)updateMapViewOption:(NSDictionary *)dict
               withRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar
               mapController: (id<FlutterMapControllerProtocol>)mapController
                      isInit: (BOOL)isInit;

+ (UIImage*)imageFromRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar 
                      iconData:(NSArray*)iconData;

+ (void)setCameraUpdateDict:(NSDictionary *)updateDict 
              mapController: (id<FlutterMapControllerProtocol>)mapController;

@end

NS_ASSUME_NONNULL_END
